@using Microsoft.Extensions.Options
@using DK.Abp.AspnetCore.Components.Web.BootstrapBlazorTheme.Routing
@inject IOptions<AbpRouterOptions> RouterOptions

<BootstrapBlazorRoot>
    <Router AppAssembly="RouterOptions.Value.AppAssembly"
            AdditionalAssemblies="RouterOptions.Value.AdditionalAssemblies">
        <Found Context="routeData">
            <RouteView RouteData="@routeData" DefaultLayout="@typeof(DefaultLayout)"/>
        </Found>
        <NotFound>
            <LayoutView Layout="@typeof(DefaultLayout)">
                <p>Sorry, there's nothing at this address.</p>
            </LayoutView>
        </NotFound>
    </Router>
</BootstrapBlazorRoot>